[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Validates a collection. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim collection As ICollection(Of T)
Dim paramName As String

ValidationHelper.ValidationCollection(collection, paramName)

Syntax

Visual Basic
Public Shared Sub ValidationCollection(Of T) ( _
		collection As ICollection(Of T), _
		paramName As String _
)
C#
public static void ValidationCollection<T> (
		ICollection<T> collection,
		string paramName
)
C++
public:
generic<typename T>
static void ValidationCollection (
		ICollection<T>^ collection, 
		String^ paramName
)
J#

JScript

GenericParameters

T

Any type.

Parameters

collection

The collection.

paramName

The name of the parameter to throw the exception for.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also